package com.atguigu.service;

import com.atguigu.model.system.SysUser;
import com.atguigu.vo.system.SysRoleQueryVo;
import com.atguigu.vo.system.SysUserQueryVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;


public interface SysUserService extends IService<SysUser> {
    IPage<SysUser> getPageList(IPage<SysUser> page, SysUserQueryVo sysUserQueryVo);

    void saveUser(SysUser sysUser);

    SysUser getUserById(Integer id);

    void updateUser(SysUser sysUser);


    void updateStatus(SysUser sysUser);

    Map<String, Object> getInfo(Long userId);

    SysUser getByUsername(String assignee);
}
